Lower the window, to prevent late-constructed text windows from covering
authorMatthias Clasen <mclasen@redhat.com>
Thu, 6 Apr 2006 02:48:40 +0000 (02:48 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 6 Apr 2006 02:48:40 +0000 (02:48 +0000)
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (text_window_realize): Lower the window, to
prevent late-constructed text windows from covering child
widgets.  (#336796, Yevgen Muntyan)

ChangeLog
ChangeLog.pre-2-10
gtk/gtktextview.c

index 816dc746c7c60254816799a2be95f2b3c9b06b86..55f6055e60a5db572882a66ba3d71d955ba483e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktextview.c (text_window_realize): Lower the window, to
+       prevent late-constructed text windows from covering child 
+       widgets.  (#336796, Yevgen Muntyan)
+
        * gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify) 
        (gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
        signals to ensure that we emit enough signals. Also optimize the
index 816dc746c7c60254816799a2be95f2b3c9b06b86..55f6055e60a5db572882a66ba3d71d955ba483e8 100644 (file)
@@ -1,5 +1,9 @@
 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktextview.c (text_window_realize): Lower the window, to
+       prevent late-constructed text windows from covering child 
+       widgets.  (#336796, Yevgen Muntyan)
+
        * gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify) 
        (gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
        signals to ensure that we emit enough signals. Also optimize the
index 35a3ff7b875da466a37b12c5e169b1e88c8abf3a..43a2ec5df261e0d8c6601c51df7b611c5a45a1bc 100644 (file)
@@ -7413,6 +7413,7 @@ text_window_realize (GtkTextWindow *win,
   
   gdk_window_show (win->window);
   gdk_window_set_user_data (win->window, win->widget);
+  gdk_window_lower (win->window);
 
   attributes.x = 0;
   attributes.y = 0;